package com.yulinlin.authorization.modules;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

public interface AuthService {

     UserDetails loadUserByUsername(String username) throws UsernameNotFoundException ;

    UserDetails loadUserById(String id) throws UsernameNotFoundException ;

}
